package com.huibo.aigou.base.bo;

import java.util.List;

public class PageObj<T> {
	
	private int page;
	
	private Long total;
	
	private int rows;
	
	private List<T> data;
	
	public PageObj() {}
	public PageObj(Long total,List<T> data) {
		this.total = total;
		this.data = data;
	}

	public int getPage() {
		return page;
	}

	public void setPage(int page) {
		this.page = page;
	}

	public Long getTotal() {
		return total;
	}

	public void setTotal(Long total) {
		this.total = total;
	}

	public int getRows() {
		return rows;
	}

	public void setRows(int rows) {
		this.rows = rows;
	}

	public List<T> getData() {
		return data;
	}

	public void setData(List<T> data) {
		this.data = data;
	}

}
